﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Nhanqua.ascx.cs" Inherits="Administrator_AdminControl_Nhanqua" %>
<%@ Register assembly="CKEditor.NET" namespace="CKEditor.NET" tagprefix="CKEditor" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
<div class="dasboard" style="width:48%;float:left">
    <div class="staticTitle">Đổi điểm nhận quà</div>
    <div class="style-padding1">
        <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" height="200px" width="300px">
            <table style="width:70%;padding-bottom:20px">
                <tr>
                    <td colspan="2"><strong><asp:Label ID="lblmsg" runat="server"></asp:Label></strong></td>
                </tr>
                <tr>
                    <td>Tiêu đề</td>
                    <td><asp:TextBox ID="txttitle" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td>Ảnh đại diện</td>
                    <td>
                        <asp:FileUpload ID="fileAnh" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td>Số lượng sản phẩm</td>
                    <td><asp:TextBox ID="txtsoluong" runat="server" MaxLength="2"></asp:TextBox></td>
                </tr>
                <tr>
                    <td>Mô tả</td>
                    <td>
                        <asp:TextBox ID="txtdescription" runat="server" TextMode="MultiLine"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>Điểm số</td>
                    <td><telerik:RadNumericTextBox runat="server" ID="txtpoint"></telerik:RadNumericTextBox></td>
                </tr>
                <tr>
                    <td>Ngày bắt đầu</td>
                    <td>
                        <telerik:RadDatePicker ID="dateStart" Runat="server" Culture="vi-VN" 
                            SelectedDate="2011-11-10">
                            <Calendar UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" 
                                ViewSelectorText="x">
                            </Calendar>
                            <DateInput SelectedDate="2011-11-10">
                            </DateInput>
                            <DatePopupButton HoverImageUrl="" ImageUrl="" />
                        </telerik:RadDatePicker>
                    </td>
                </tr>
                <tr>
                    <td>Ngày kết thúc</td>
                    <td><telerik:RadDatePicker ID="dateStop" Runat="server">
                        </telerik:RadDatePicker>
                        </td>
                </tr>
                <tr>
                    <td>Chi tiết</td>
                    <td>
                        <CKEditor:CKEditorControl ID="CKEditorControl1" runat="server" Width="520px" 
                        Height="300px" 
                        FilebrowserWindowFeatures="location=no,menubar=no,toolbar=no,dependent=yes,minimizable=no,modal=yes,alwaysRaised=yes,resizable=mo,scrollbars=yes" 
                        ResizeEnabled="False" 
                        ToolbarFull="Preview|Cut|Copy|Paste|PasteText|PasteFromWord"></CKEditor:CKEditorControl>
                    </td>
                </tr>
                <tr>
                    <td>Kích hoạt sản phẩm</td>
                    <td><asp:CheckBox ID="chkActive" runat="server" Text="Kích hoạt" /></td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:Button ID="btnSave" runat="server" Text="Lưu" onclick="btnSave_Click" />
                        <asp:Button ID="btncancel" runat="server" Text="Hủy" />
                    </td>
                </tr>
            </table>
        </telerik:RadAjaxPanel>
    </div>
    <telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" 
        AutoGenerateDeleteColumn="True" AutoGenerateEditColumn="True" GridLines="None">
    </telerik:RadGrid>
</div>